package com.ht.modules.customerfirminfo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ht.modules.customerfirminfo.entity.CustomerFirmInfo;
import com.ht.modules.customerfirminfo.entity.CustomerFirmInfoVo;

import java.util.List;

/**
 *  客户企业信息
 * @Author:
 * @Date: 2024-06-13
 * @Version: V1.0
 */
public interface ICustomerFirmInfoService extends IService<CustomerFirmInfo> {

    Page<CustomerFirmInfoVo> list(Page<CustomerFirmInfoVo> page, CustomerFirmInfoVo customerFirmInfoVo, String column, String order);

    List<CustomerFirmInfoVo> listNoPage(CustomerFirmInfoVo customerFirmInfoVo, String column, String order);

    void add(CustomerFirmInfo customerFirmInfo);

    void edit(CustomerFirmInfo customerFirmInfo);

    void delete(String id);

    void deleteBatch(String ids);

    CustomerFirmInfo queryById(String id);

    /**
     * 同步企业信息
     *
     * @param customerFirmInfo 参数
     */
    void synchronizedEnterpriseInfo(CustomerFirmInfo customerFirmInfo);

    /**
     * 查询企业信息
     *
     * @param customerFirmInfo 参数
     * @return 查询结果
     */
    List<CustomerFirmInfo> searchEnterpriseInfo(CustomerFirmInfo customerFirmInfo);

}
